package com.miniportal.base.convert;

import com.miniportal.base.pojo.dto.BillingInformationDto;
import com.miniportal.base.pojo.entity.BillingInformation;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * TODO
 *
 * @author zhouje
 * @since 2022/5/30 22:14
 */
@Mapper
public interface BillingInformationConvert {

    BillingInformationConvert INSTANCE = Mappers.getMapper(BillingInformationConvert.class);


    BillingInformationDto billingInformationToDto(BillingInformation billingInformation);

    List<BillingInformationDto> dosToDtos(List<BillingInformation> billingInformations);

    BillingInformation dtoToDo(BillingInformationDto request);

}
